package com.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.common.mapper.InsertListMapper;
import com.demo.entity.User;

import java.util.List;

/**
* @Entity generator.domain.User
*/
public interface UserMapper extends BaseMapper<User>, InsertListMapper<User> {

    /**
     * 批量插入
     * @param recordList
     * @return
     */
    int insertBatch(List<User> recordList);
}
